package com.sm.scorpio.ui.fragment.message;


import androidx.annotation.Nullable;

import com.scorpio.baselibrary.adapter.BasicQuickAdapter;
import com.scorpio.baselibrary.adapter.BasicViewHolder;
import com.sm.imlibrary.model.Conversation;
import com.sm.scorpio.R;

import java.util.List;

/**
 * created by zhud on 2019/7/9
 */
public class MessageAdapter extends BasicQuickAdapter<Conversation, BasicViewHolder> {
    public MessageAdapter(@Nullable List<Conversation> data) {
        super(R.layout.item_conversation, data);
    }

    @Override
    protected void convert(BasicViewHolder helper, Conversation item) {
        helper.addOnClickListener(R.id.message_item_layout);
    }
}
